export interface ArticleVo {
  articleId: string | number;
  categoryId: string;
  categoryName: string;
  title: string;
  imageUrl: string;
  status: string;
  content: string;
  authorId: string | number;
  authorName: string;
  publishedTime: string;
  totalUpvote: number;
  totalView: number;
  pinned: string;
  curated: string;
  createBy: string;
  createTime: string;
  updateBy: string;
  updateTime: string;
}

export interface ArticleForm {
  articleId: string | number | undefined;
  categoryId: string;
  categoryName: string;
  title: string;
  imageUrl: string;
  status: string;
  content: string;
  authorId: string | number;
  authorName: string;
  publishedTime: string;
  totalUpvote: number;
  totalView: number;
  pinned?: string;
  curated: string;
  createBy?: string;
  createTime?: string;
  updateBy?: string;
  updateTime?: string;
}

export interface ArticleQuery extends PageQuery {
  categoryId: string;
  title: string;
  status: string;
}
